package com.chrray.position.domain.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.Date;

/**
 * 岗位-雇工关系表 参数层对象
 *
 * @author wusiwee
 * @email wusiwee@163.com
 * @since 1.0.1 2024-08-07
 */
@Data
@ApiModel(description = "岗位-雇工关系表")
public class FdJobWorkerRelDTO {

	@ApiModelProperty(value = "主键ID")
	private Long id;

	@ApiModelProperty(value = "岗位ID")
	private Long jobId;

	@ApiModelProperty(value = "用户ID")
	private Long userId;

	@ApiModelProperty(value = "竞聘状态:1-待录用/2-已录用/3-已完工")
	private Integer state;

	@ApiModelProperty(value = "申请时间")
	@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(shape=JsonFormat.Shape.STRING, pattern="yyyy-MM-dd HH:mm:ss")
	private Date applyTime;

	private Integer delFlag;


}
